<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>

<html>
  <head>
    <title>修改影片信息</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
  </head>
  
  <body>
  	 
  	
  	<s:form action="/film_update.action" method="post" theme="simple">
  	
  	<s:hidden name="id" id="id" value="%{id}"></s:hidden>
  	
  	 <table border="1" align="center" cellpadding="5" cellspacing="0">
  	 	<tr>
  	 		<td>影片名称</td>
  	 		<td>
  	 			<s:textfield name="fname" id="fname"></s:textfield>
  	 		</td>
  	 	</tr>
  	 	<tr>
  	 		<td>影片票价</td>
  	 		<td>
  	 			<s:textfield name="fmoney" id="fmoney"></s:textfield>
  	 		</td>
  	 	</tr>
  	 	
  	 	<tr>
  	 		<td>电影放映时间</td>
  	 		<td>
  	 			<s:textfield name="ftime" id="ftime"></s:textfield>
  	 		</td>
  	 	</tr> 	
  	 	<tr>
  	 		<td>电影主演</td>
  	 		<td>
  	 			<s:textfield name="factor" id="factor"></s:textfield>
  	 		</td>
  	 	</tr> 	
  	 	<tr>
  	 		<td>电影导演</td>
  	 		<td>
  	 			<s:textfield name="fdirector" id="fdirector"></s:textfield>
  	 		</td>
  	 	</tr> 	 	
  	 	<tr>
  	 		<td>电影简介</td>
  	 		<td>
  	 			<s:textfield name="fsynopsis" id="fsynopsis"></s:textfield>
  	 		</td>
  	 	</tr>
  	 	
  	 	
  	 	<tr>
  	 		<td>选择类型</td>
  	 		<td>
  	 			 <!-- 
  	 			 		value  默认选择的项的设置 
  	 			 			   即设置要显示的对象的主键
  	 			 			  (根元素取值)
  	 			  -->
  	 			  <s:select 
  	 			  	name="tid" 
  	 			  	headerKey="-1"
  	 			  	headerValue="请选择"
  	 			  	list="#request.listFilmType"
  	 			  	listKey="id"
  	 			  	listValue="name"
  	 			  	value="filmType.id"
  	 			  ></s:select>
  	 		</td>
  	 	</tr>
  	 	<tr>
  	 		<td colspan="2">
  	 			<s:submit value="修改影片"></s:submit>
  	 		</td>
  	 	</tr>
  	 </table>
  	 
  	 <div align="center">
  	    <h1 align="center">
  	       <a href="film_list.action">返回</a>
  	    </h1>
  	 </div>
  	 
  	 </s:form>
  </body>
</html>
